package com.cnap.multiclouldmgmt.model.microSvc;

import com.cnap.multiclouldmgmt.model.k8sModels.NodeModel;
import com.cnap.multiclouldmgmt.model.k8sModels.SvcModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.List;

/**
 * 拆分的微服务信息
 *
 * @author xc
 **/
@ApiModel(value = "com.cnap.multiclouldmgmt.model.microSvc.ClusterMicroSvcModel",description = "微服务和集群的信息信息")
public class ClusterMicroSvcModel {

    //云商
    @ApiModelProperty(value = "云商")
    private String cloudVendor;

    //区域id
    @ApiModelProperty(value = "区域id")
    private String regionId;

    //可用区id
    @ApiModelProperty(value = "区域id")
    private String zoneId;

    //集群名称
    @ApiModelProperty(value = "节点名称")
    private String k8sClusterName;

    //集群ip
    @ApiModelProperty(value = "集群ip")
    private String k8sClusterIp;

    //节点信息
    @ApiModelProperty(value = "节点信息")
    private List<NodeModel> nodeModels;

    //节点信息
    @ApiModelProperty(value = "节点信息")
    private List<SvcModel> svcModels;

    /**
     * get
     *
     * @return RegionId
     */
    public String getRegionId() {
        return regionId;
    }

    /**
     * set
     *
     * @param regionId regionId
     */
    public void setRegionId(String regionId) {
        this.regionId = regionId;
    }

    /**
     * get
     *
     * @return ZoneId
     */
    public String getZoneId() {
        return zoneId;
    }

    /**
     * set
     *
     * @param zoneId zoneId
     */
    public void setZoneId(String zoneId) {
        this.zoneId = zoneId;
    }

    /**
     * get
     *
     * @return K8sClusterName
     */
    public String getK8sClusterName() {
        return k8sClusterName;
    }

    /**
     * set
     *
     * @param k8sClusterName k8sClusterName
     */
    public void setK8sClusterName(String k8sClusterName) {
        this.k8sClusterName = k8sClusterName;
    }

    /**
     * get
     *
     * @return K8sClusterIp
     */
    public String getK8sClusterIp() {
        return k8sClusterIp;
    }

    /**
     * set
     *
     * @param k8sClusterIp k8sClusterIp
     */
    public void setK8sClusterIp(String k8sClusterIp) {
        this.k8sClusterIp = k8sClusterIp;
    }

    /**
     * get
     *
     * @return NodeModels
     */
    public List<NodeModel> getNodeModels() {
        return nodeModels;
    }

    /**
     * set
     *
     * @param nodeModels nodeModels
     */
    public void setNodeModels(List<NodeModel> nodeModels) {
        this.nodeModels = nodeModels;
    }

    /**
     * get
     *
     * @return SvcModels
     */
    public List<SvcModel> getSvcModels() {
        return svcModels;
    }

    /**
     * set
     *
     * @param svcModels svcModels
     */
    public void setSvcModels(List<SvcModel> svcModels) {
        this.svcModels = svcModels;
    }

    /**
     * get
     *
     * @return CloudVender
     */
    public String getCloudVendor() {
        return cloudVendor;
    }

    /**
     * set
     *
     * @param cloudVendor cloudVender
     */
    public void setCloudVendor(String cloudVendor) {
        this.cloudVendor = cloudVendor;
    }
}
